﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using System.Globalization;
using System.IO;
using System.Web;
using System.Windows.Forms;
namespace QLKTX1._0.DB
{
    class IConnectionType
    {
        public static string strConnMSSQL_se = "server=kid203qtvn-pc\\SQLEXPRESS; database=QuanLyKyTucXa; user id=sa; password=nothingtolose";

        public static string strConnMSSQL_none = "Data Source=HOANG-PC;Initial Catalog=QuanLyKyTucXa;Integrated Security=True ";

        public static string strConnToDB_file = "Data Source=(LocalDB)\\v11.0;AttachDbFilename=" + Application.StartupPath.Substring(0, Application.StartupPath.LastIndexOf("bin")) + "Database\\QLKTX.mdf" + " ;Integrated Security=True";

        public static string strConnAppConfig_file = ConfigurationManager.ConnectionStrings["pathDB"].ConnectionString;
    }
}
